package com.syyo.admin.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.syyo.admin.domain.entity.NodeConfigEntity;
import com.syyo.admin.domain.req.NodeConfigReq;

import java.util.Map;

/**
 * @author wang
 * @date 2021-04-09 11:34:57
 */
public interface FlowService extends IService<NodeConfigEntity> {

    /**
     * 新增
     *
     * @return ResultVo
     */
    int add(NodeConfigReq req);

    /**
     * 详情
     *
     * @return ResultVo
     */
    Map<String, Object> findOne(Integer tempType, Long version);

    Map<String, Object> matchTest(Integer userId, Integer tempType, Long version);
}